package com.pda.common_easy.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

@Entity(
        indexes = {
                @Index(value = "boxCode", unique = true)
        }
)

public class RelationCode {
    @Id(autoincrement = true)
    private Long id;
    private String billID;
    private String productID;
    private String caseCode;
    private String boxCode;
    private boolean flag = false;
@Generated(hash = 1637574286)
public RelationCode(Long id, String billID, String productID, String caseCode,
        String boxCode, boolean flag) {
    this.id = id;
    this.billID = billID;
    this.productID = productID;
    this.caseCode = caseCode;
    this.boxCode = boxCode;
    this.flag = flag;
}
@Generated(hash = 1135640998)
public RelationCode() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getProductID() {
    return this.productID;
}
public void setProductID(String productID) {
    this.productID = productID;
}
public String getCaseCode() {
    return this.caseCode;
}
public void setCaseCode(String caseCode) {
    this.caseCode = caseCode;
}
public String getBoxCode() {
    return this.boxCode;
}
public void setBoxCode(String boxCode) {
    this.boxCode = boxCode;
}
public String getBillID() {
    return this.billID;
}
public void setBillID(String billID) {
    this.billID = billID;
}
public boolean getFlag() {
    return this.flag;
}
public void setFlag(boolean flag) {
    this.flag = flag;
}
}


